home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Business / SalesTax&IncomeReports / Sales Tax / Sales Tax / background_33978.xml < prev    next >
Extensible Markup Language  |  1991-07-15  |  64KB  |  1,575 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>33978</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_34161.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_30736.css" />
  11.     <part>
  12.         <id>37</id>
  13.         <type>field</type>
  14.         <visible> <false /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <true /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>0</left>
  23.             <top>20</top>
  24.             <right>240</right>
  25.             <bottom>32</bottom>
  26.         </rect>
  27.         <style>shadow</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <true /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Helvetica</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>10</textHeight>
  40.         <name>labels title</name>
  41.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  42.     </part>
  43.     <part>
  44.         <id>38</id>
  45.         <type>field</type>
  46.         <visible> <false /> </visible>
  47.         <dontWrap> <true /> </dontWrap>
  48.         <dontSearch> <true /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>1</left>
  55.             <top>36</top>
  56.             <right>241</right>
  57.             <bottom>48</bottom>
  58.         </rect>
  59.         <style>shadow</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <true /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Helvetica</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>10</textHeight>
  72.         <name>graph Title</name>
  73.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  74.     </part>
  75.     <part>
  76.         <id>39</id>
  77.         <type>field</type>
  78.         <visible> <false /> </visible>
  79.         <dontWrap> <true /> </dontWrap>
  80.         <dontSearch> <true /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <true /> </fixedLineHeight>
  83.         <autoTab> <true /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>216</left>
  87.             <top>20</top>
  88.             <right>276</right>
  89.             <bottom>36</bottom>
  90.         </rect>
  91.         <style>shadow</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <true /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>left</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>9</textSize>
  102.         <textStyle>bold</textStyle>
  103.         <textHeight>12</textHeight>
  104.         <name>units</name>
  105.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  106.     </part>
  107.     <part>
  108.         <id>36</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <true /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <true /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <false /> </lockText>
  117.         <rect>
  118.             <left>300</left>
  119.             <top>204</top>
  120.             <right>412</right>
  121.             <bottom>256</bottom>
  122.         </rect>
  123.         <style>scrolling</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>right</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name>monthlabels</name>
  137.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "Data" ‚↠returnthen put return after bg field "Data"select after line theLine of bg field "Data"end tabKey</script>
  138.     </part>
  139.     <part>
  140.         <id>35</id>
  141.         <type>field</type>
  142.         <visible> <true /> </visible>
  143.         <dontWrap> <true /> </dontWrap>
  144.         <dontSearch> <false /> </dontSearch>
  145.         <sharedText> <false /> </sharedText>
  146.         <fixedLineHeight> <false /> </fixedLineHeight>
  147.         <autoTab> <false /> </autoTab>
  148.         <lockText> <false /> </lockText>
  149.         <rect>
  150.             <left>395</left>
  151.             <top>204</top>
  152.             <right>475</right>
  153.             <bottom>256</bottom>
  154.         </rect>
  155.         <style>scrolling</style>
  156.         <autoSelect> <false /> </autoSelect>
  157.         <showLines> <false /> </showLines>
  158.         <wideMargins> <false /> </wideMargins>
  159.         <multipleLines> <false /> </multipleLines>
  160.         <reservedFamily> 0 </reservedFamily>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>right</textAlign>
  164.         <font>Geneva</font>
  165.         <textSize>9</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <textHeight>12</textHeight>
  168.         <name>data</name>
  169.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "monthlabels" ‚↠returnthen put return after bg field "monthlabels"select after line theLine of bg field "monthlabels"end tabKey</script>
  170.     </part>
  171.     <part>
  172.         <id>52</id>
  173.         <type>field</type>
  174.         <visible> <false /> </visible>
  175.         <dontWrap> <false /> </dontWrap>
  176.         <dontSearch> <false /> </dontSearch>
  177.         <sharedText> <false /> </sharedText>
  178.         <fixedLineHeight> <true /> </fixedLineHeight>
  179.         <autoTab> <false /> </autoTab>
  180.         <lockText> <false /> </lockText>
  181.         <rect>
  182.             <left>0</left>
  183.             <top>327</top>
  184.             <right>103</right>
  185.             <bottom>342</bottom>
  186.         </rect>
  187.         <style>transparent</style>
  188.         <autoSelect> <false /> </autoSelect>
  189.         <showLines> <false /> </showLines>
  190.         <wideMargins> <false /> </wideMargins>
  191.         <multipleLines> <false /> </multipleLines>
  192.         <reservedFamily> 0 </reservedFamily>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>left</textAlign>
  196.         <font>Geneva</font>
  197.         <textSize>9</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <textHeight>12</textHeight>
  200.         <name>graph rect</name>
  201.         <script></script>
  202.     </part>
  203.     <part>
  204.         <id>53</id>
  205.         <type>button</type>
  206.         <visible> <false /> </visible>
  207.         <reserved5> 0 </reserved5>
  208.         <reserved4> 0 </reserved4>
  209.         <reserved3> 0 </reserved3>
  210.         <reserved2> 0 </reserved2>
  211.         <reserved1> 0 </reserved1>
  212.         <enabled> <true /> </enabled>
  213.         <rect>
  214.             <left>243</left>
  215.             <top>19</top>
  216.             <right>285</right>
  217.             <bottom>32</bottom>
  218.         </rect>
  219.         <style>shadow</style>
  220.         <showName> <true /> </showName>
  221.         <highlight> <false /> </highlight>
  222.         <autoHighlight> <false /> </autoHighlight>
  223.         <sharedHighlight> <true /> </sharedHighlight>
  224.         <family>0</family>
  225.         <titleWidth>0</titleWidth>
  226.         <icon>0</icon>
  227.         <textAlign>left</textAlign>
  228.         <font>Geneva</font>
  229.         <textSize>9</textSize>
  230.         <textStyle>plain</textStyle>
  231.         <name>Units:</name>
  232.         <script></script>
  233.     </part>
  234.     <part>
  235.         <id>15</id>
  236.         <type>button</type>
  237.         <visible> <true /> </visible>
  238.         <reserved5> 0 </reserved5>
  239.         <reserved4> 0 </reserved4>
  240.         <reserved3> 0 </reserved3>
  241.         <reserved2> 0 </reserved2>
  242.         <reserved1> 0 </reserved1>
  243.         <enabled> <true /> </enabled>
  244.         <rect>
  245.             <left>135</left>
  246.             <top>279</top>
  247.             <right>171</right>
  248.             <bottom>315</bottom>
  249.         </rect>
  250.         <style>shadow</style>
  251.         <showName> <false /> </showName>
  252.         <highlight> <false /> </highlight>
  253.         <autoHighlight> <true /> </autoHighlight>
  254.         <sharedHighlight> <true /> </sharedHighlight>
  255.         <family>0</family>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>25573</icon>
  258.         <textAlign>center</textAlign>
  259.         <font>Geneva</font>
  260.         <textSize>10</textSize>
  261.         <textStyle>bold</textStyle>
  262.         <name>report</name>
  263.         <script>on mouseUpvisual effect shrink to centergo card "data report"end mouseUp</script>
  264.     </part>
  265.     <part>
  266.         <id>11</id>
  267.         <type>button</type>
  268.         <visible> <true /> </visible>
  269.         <reserved5> 0 </reserved5>
  270.         <reserved4> 0 </reserved4>
  271.         <reserved3> 0 </reserved3>
  272.         <reserved2> 0 </reserved2>
  273.         <reserved1> 0 </reserved1>
  274.         <enabled> <true /> </enabled>
  275.         <rect>
  276.             <left>306</left>
  277.             <top>298</top>
  278.             <right>347</right>
  279.             <bottom>318</bottom>
  280.         </rect>
  281.         <style>transparent</style>
  282.         <showName> <false /> </showName>
  283.         <highlight> <false /> </highlight>
  284.         <autoHighlight> <false /> </autoHighlight>
  285.         <sharedHighlight> <false /> </sharedHighlight>
  286.         <family>0</family>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>center</textAlign>
  290.         <font>Chicago</font>
  291.         <textSize>12</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <name>Column</name>
  294.         <script>on mouseUpglobal goGraphput the short name of me into goGraph-- Requires handler: goCardgoCardend mouseUp</script>
  295.     </part>
  296.     <part>
  297.         <id>14</id>
  298.         <type>button</type>
  299.         <visible> <true /> </visible>
  300.         <reserved5> 0 </reserved5>
  301.         <reserved4> 0 </reserved4>
  302.         <reserved3> 0 </reserved3>
  303.         <reserved2> 0 </reserved2>
  304.         <reserved1> 0 </reserved1>
  305.         <enabled> <true /> </enabled>
  306.         <rect>
  307.             <left>306</left>
  308.             <top>317</top>
  309.             <right>348</right>
  310.             <bottom>336</bottom>
  311.         </rect>
  312.         <style>transparent</style>
  313.         <showName> <false /> </showName>
  314.         <highlight> <false /> </highlight>
  315.         <autoHighlight> <false /> </autoHighlight>
  316.         <sharedHighlight> <false /> </sharedHighlight>
  317.         <family>0</family>
  318.         <titleWidth>0</titleWidth>
  319.         <icon>0</icon>
  320.         <textAlign>center</textAlign>
  321.         <font>Chicago</font>
  322.         <textSize>12</textSize>
  323.         <textStyle>plain</textStyle>
  324.         <name>Pie</name>
  325.         <script>on mouseUpglobal goGraphput the short name of me into goGraph-- Requires handler: goCardgoCardend mouseUp</script>
  326.     </part>
  327.     <part>
  328.         <id>86</id>
  329.         <type>field</type>
  330.         <visible> <true /> </visible>
  331.         <dontWrap> <true /> </dontWrap>
  332.         <dontSearch> <false /> </dontSearch>
  333.         <sharedText> <true /> </sharedText>
  334.         <fixedLineHeight> <true /> </fixedLineHeight>
  335.         <autoTab> <false /> </autoTab>
  336.         <lockText> <true /> </lockText>
  337.         <rect>
  338.             <left>27</left>
  339.             <top>275</top>
  340.             <right>85</right>
  341.             <bottom>339</bottom>
  342.         </rect>
  343.         <style>transparent</style>
  344.         <autoSelect> <false /> </autoSelect>
  345.         <showLines> <false /> </showLines>
  346.         <wideMargins> <false /> </wideMargins>
  347.         <multipleLines> <false /> </multipleLines>
  348.         <reservedFamily> 0 </reservedFamily>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>0</icon>
  351.         <textAlign>left</textAlign>
  352.         <font>Geneva</font>
  353.         <textSize>9</textSize>
  354.         <textStyle>condense</textStyle>
  355.         <textStyle>bold</textStyle>
  356.         <textHeight>15</textHeight>
  357.         <name>read</name>
  358.         <script></script>
  359.     </part>
  360.     <part>
  361.         <id>12</id>
  362.         <type>button</type>
  363.         <visible> <true /> </visible>
  364.         <reserved5> 0 </reserved5>
  365.         <reserved4> 0 </reserved4>
  366.         <reserved3> 0 </reserved3>
  367.         <reserved2> 0 </reserved2>
  368.         <reserved1> 0 </reserved1>
  369.         <enabled> <true /> </enabled>
  370.         <rect>
  371.             <left>306</left>
  372.             <top>276</top>
  373.             <right>347</right>
  374.             <bottom>297</bottom>
  375.         </rect>
  376.         <style>transparent</style>
  377.         <showName> <false /> </showName>
  378.         <highlight> <false /> </highlight>
  379.         <autoHighlight> <false /> </autoHighlight>
  380.         <sharedHighlight> <false /> </sharedHighlight>
  381.         <family>0</family>
  382.         <titleWidth>0</titleWidth>
  383.         <icon>0</icon>
  384.         <textAlign>center</textAlign>
  385.         <font>Chicago</font>
  386.         <textSize>12</textSize>
  387.         <textStyle>plain</textStyle>
  388.         <name>Fever</name>
  389.         <script>on mouseUpglobal goGraphput the short name of me into goGraph-- Requires handler: goCardgoCardend mouseUp</script>
  390.     </part>
  391.     <part>
  392.         <id>81</id>
  393.         <type>field</type>
  394.         <visible> <false /> </visible>
  395.         <dontWrap> <true /> </dontWrap>
  396.         <dontSearch> <true /> </dontSearch>
  397.         <sharedText> <false /> </sharedText>
  398.         <fixedLineHeight> <false /> </fixedLineHeight>
  399.         <autoTab> <false /> </autoTab>
  400.         <lockText> <false /> </lockText>
  401.         <rect>
  402.             <left>300</left>
  403.             <top>204</top>
  404.             <right>420</right>
  405.             <bottom>256</bottom>
  406.         </rect>
  407.         <style>scrolling</style>
  408.         <autoSelect> <false /> </autoSelect>
  409.         <showLines> <false /> </showLines>
  410.         <wideMargins> <false /> </wideMargins>
  411.         <multipleLines> <false /> </multipleLines>
  412.         <reservedFamily> 0 </reservedFamily>
  413.         <titleWidth>0</titleWidth>
  414.         <icon>0</icon>
  415.         <textAlign>right</textAlign>
  416.         <font>Geneva</font>
  417.         <textSize>9</textSize>
  418.         <textStyle>plain</textStyle>
  419.         <textHeight>12</textHeight>
  420.         <name>quarterlabels</name>
  421.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "data2" ‚↠returnthen put return after bg field "data2"select after line theLine of bg field "data2"end tabKey</script>
  422.     </part>
  423.     <part>
  424.         <id>74</id>
  425.         <type>field</type>
  426.         <visible> <false /> </visible>
  427.         <dontWrap> <true /> </dontWrap>
  428.         <dontSearch> <true /> </dontSearch>
  429.         <sharedText> <false /> </sharedText>
  430.         <fixedLineHeight> <false /> </fixedLineHeight>
  431.         <autoTab> <false /> </autoTab>
  432.         <lockText> <false /> </lockText>
  433.         <rect>
  434.             <left>402</left>
  435.             <top>204</top>
  436.             <right>475</right>
  437.             <bottom>256</bottom>
  438.         </rect>
  439.         <style>scrolling</style>
  440.         <autoSelect> <false /> </autoSelect>
  441.         <showLines> <false /> </showLines>
  442.         <wideMargins> <false /> </wideMargins>
  443.         <multipleLines> <false /> </multipleLines>
  444.         <reservedFamily> 0 </reservedFamily>
  445.         <titleWidth>0</titleWidth>
  446.         <icon>0</icon>
  447.         <textAlign>right</textAlign>
  448.         <font>Geneva</font>
  449.         <textSize>9</textSize>
  450.         <textStyle>plain</textStyle>
  451.         <textHeight>12</textHeight>
  452.         <name>data2</name>
  453.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "quarterlabels" ‚↠returnthen put return after bg field "quarterlabels"select after line theLine of bg field "quarterlabels"end tabKey</script>
  454.     </part>
  455.     <part>
  456.         <id>84</id>
  457.         <type>field</type>
  458.         <visible> <false /> </visible>
  459.         <dontWrap> <false /> </dontWrap>
  460.         <dontSearch> <false /> </dontSearch>
  461.         <sharedText> <false /> </sharedText>
  462.         <fixedLineHeight> <false /> </fixedLineHeight>
  463.         <autoTab> <false /> </autoTab>
  464.         <lockText> <false /> </lockText>
  465.         <rect>
  466.             <left>300</left>
  467.             <top>204</top>
  468.             <right>412</right>
  469.             <bottom>256</bottom>
  470.         </rect>
  471.         <style>scrolling</style>
  472.         <autoSelect> <false /> </autoSelect>
  473.         <showLines> <false /> </showLines>
  474.         <wideMargins> <false /> </wideMargins>
  475.         <multipleLines> <false /> </multipleLines>
  476.         <reservedFamily> 0 </reservedFamily>
  477.         <titleWidth>0</titleWidth>
  478.         <icon>0</icon>
  479.         <textAlign>right</textAlign>
  480.         <font>Geneva</font>
  481.         <textSize>9</textSize>
  482.         <textStyle>plain</textStyle>
  483.         <textHeight>12</textHeight>
  484.         <name>clientlabels</name>
  485.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "clientdata" ‚↠returnthen put return after bg field "clientdata"select after line theLine of bg field "clientdata"end tabKey</script>
  486.     </part>
  487.     <part>
  488.         <id>34</id>
  489.         <type>button</type>
  490.         <visible> <true /> </visible>
  491.         <reserved5> 0 </reserved5>
  492.         <reserved4> 0 </reserved4>
  493.         <reserved3> 0 </reserved3>
  494.         <reserved2> 0 </reserved2>
  495.         <reserved1> 0 </reserved1>
  496.         <enabled> <true /> </enabled>
  497.         <rect>
  498.             <left>441</left>
  499.             <top>271</top>
  500.             <right>512</right>
  501.             <bottom>315</bottom>
  502.         </rect>
  503.         <style>transparent</style>
  504.         <showName> <false /> </showName>
  505.         <highlight> <true /> </highlight>
  506.         <autoHighlight> <false /> </autoHighlight>
  507.         <sharedHighlight> <true /> </sharedHighlight>
  508.         <family>0</family>
  509.         <titleWidth>0</titleWidth>
  510.         <icon>11216</icon>
  511.         <textAlign>center</textAlign>
  512.         <font>Chicago</font>
  513.         <textSize>12</textSize>
  514.         <textStyle>plain</textStyle>
  515.         <name>About Graphs</name>
  516.         <script>on mouseUpput empty into bg fld "Graph Info"-- Requires handler: showInfoshowInfo not visible of bg field "Graph Info"if the hilite of me is false thenput bg fld "labels title"&&"-"&&bg fld "graph Title" into bg field "Graph Info"if the hilight of bg button "calendar" is true thenput empty into workTimerepeat with i =1 to the number of lines of bg fld "data"if line i of bg fld "data" is not empty then add 1 to workTimeend repeatput return&" ‚Ä¢ from "&item 2 of bg fld data3&" invoices" after bg field "Graph Info"put return&" ‚Ä¢ avg $/invoice: $"&(round of (((bg fld "total"/item 2 of bg fld data3)+.001)*100))/100 after bg field "Graph Info"put return&" ‚Ä¢ avg $/month: $"&(round of (((bg fld "total"/workTime)+.001)*100))/100 after bg field "Graph Info"put return&" ‚Ä¢ total income: $"&bg fld "total"after bg field "Graph Info"end ifif the hilight of bg button "quarter" is true thenput empty into workTimerepeat with i =1 to the number of lines of bg fld "data2"if line i of bg fld "data2" is not empty then add 1 to workTimeend repeatput return&" ‚Ä¢ from "&item 1 of bg fld data3&" invoices" after bg field "Graph Info"put return&" ‚Ä¢ avg $/invoice: $"&(round of (((bg fld "total"/item 1 of bg fld data3)+.001)*100))/100 after bg field "Graph Info"put return&" ‚Ä¢ avg $/quarter: $"&(round of (((bg fld "total"/workTime)+.001)*100))/100 after bg field "Graph Info"put return&" ‚Ä¢ total income: $"&bg fld "total"after bg field "Graph Info"end ifif the hilight of bg button "client" is true thenput empty into workTimeput return&" ‚Ä¢ from"&&number of lines of bg fld "clientdata"&&"invoices"after¬¨bg field "Graph Info"put return&" ‚Ä¢ avg $/invoice: $"&(round of (((bg fld "total"/number of lines of bg fld "clientdata")+.001)*100))/100 after¬¨bg field "Graph Info"put return&" ‚Ä¢ total"&&bg field "labels title2"&": $"&bg fld "total"after bg field "Graph Info"end ifend ifend mouseUp</script>
  517.     </part>
  518.     <part>
  519.         <id>58</id>
  520.         <type>button</type>
  521.         <visible> <true /> </visible>
  522.         <reserved5> 0 </reserved5>
  523.         <reserved4> 0 </reserved4>
  524.         <reserved3> 0 </reserved3>
  525.         <reserved2> 0 </reserved2>
  526.         <reserved1> 0 </reserved1>
  527.         <enabled> <true /> </enabled>
  528.         <rect>
  529.             <left>6</left>
  530.             <top>277</top>
  531.             <right>85</right>
  532.             <bottom>292</bottom>
  533.         </rect>
  534.         <style>transparent</style>
  535.         <showName> <false /> </showName>
  536.         <highlight> <false /> </highlight>
  537.         <autoHighlight> <true /> </autoHighlight>
  538.         <sharedHighlight> <true /> </sharedHighlight>
  539.         <family>0</family>
  540.         <titleWidth>0</titleWidth>
  541.         <icon>0</icon>
  542.         <textAlign>center</textAlign>
  543.         <font>Chicago</font>
  544.         <textSize>12</textSize>
  545.         <textStyle>plain</textStyle>
  546.         <name>drawGraph</name>
  547.         <script>on mouseUpupdateTotals-- Requires handler: drawChartdrawChartend mouseUp</script>
  548.     </part>
  549.     <part>
  550.         <id>83</id>
  551.         <type>field</type>
  552.         <visible> <false /> </visible>
  553.         <dontWrap> <true /> </dontWrap>
  554.         <dontSearch> <false /> </dontSearch>
  555.         <sharedText> <false /> </sharedText>
  556.         <fixedLineHeight> <false /> </fixedLineHeight>
  557.         <autoTab> <false /> </autoTab>
  558.         <lockText> <false /> </lockText>
  559.         <rect>
  560.             <left>395</left>
  561.             <top>204</top>
  562.             <right>475</right>
  563.             <bottom>256</bottom>
  564.         </rect>
  565.         <style>scrolling</style>
  566.         <autoSelect> <false /> </autoSelect>
  567.         <showLines> <false /> </showLines>
  568.         <wideMargins> <false /> </wideMargins>
  569.         <multipleLines> <false /> </multipleLines>
  570.         <reservedFamily> 0 </reservedFamily>
  571.         <titleWidth>0</titleWidth>
  572.         <icon>0</icon>
  573.         <textAlign>right</textAlign>
  574.         <font>Geneva</font>
  575.         <textSize>9</textSize>
  576.         <textStyle>plain</textStyle>
  577.         <textHeight>12</textHeight>
  578.         <name>clientdata</name>
  579.         <script>on closeFieldput false into bg field "Drew Data"pass closeFieldend closeFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "clientlabels" ‚↠returnthen put return after bg field "clientlabels"select after line theLine of bg field "clientlabels"end tabKey</script>
  580.     </part>
  581.     <part>
  582.         <id>64</id>
  583.         <type>field</type>
  584.         <visible> <true /> </visible>
  585.         <dontWrap> <true /> </dontWrap>
  586.         <dontSearch> <true /> </dontSearch>
  587.         <sharedText> <false /> </sharedText>
  588.         <fixedLineHeight> <false /> </fixedLineHeight>
  589.         <autoTab> <false /> </autoTab>
  590.         <lockText> <true /> </lockText>
  591.         <rect>
  592.             <left>458</left>
  593.             <top>204</top>
  594.             <right>509</right>
  595.             <bottom>256</bottom>
  596.         </rect>
  597.         <style>scrolling</style>
  598.         <autoSelect> <false /> </autoSelect>
  599.         <showLines> <false /> </showLines>
  600.         <wideMargins> <false /> </wideMargins>
  601.         <multipleLines> <false /> </multipleLines>
  602.         <reservedFamily> 0 </reservedFamily>
  603.         <titleWidth>0</titleWidth>
  604.         <icon>0</icon>
  605.         <textAlign>right</textAlign>
  606.         <font>Geneva</font>
  607.         <textSize>9</textSize>
  608.         <textStyle>plain</textStyle>
  609.         <textHeight>12</textHeight>
  610.         <name>percents</name>
  611.         <script>on mouseWithinif the selectedField is not empty then exit mouseWithinget the scroll of last item of theFields()if it ‚↠the scroll of first item of theFields() thenput the textHeight of last item of theFields() into baseLineSizelock screenrepeat with count = 1 to (number of items in theFields() - 1)set scroll of (item count of theFields()) to itend repeatunlock screenend ifend mouseWithinfunction theFieldsreturn "bg fld percents,bg fld data,bg fld data2,bg fld clientdata,bg fld monthlabels,bg fld quarterlabels,bg fld clientlabels"end theFields</script>
  612.     </part>
  613.     <part>
  614.         <id>73</id>
  615.         <type>button</type>
  616.         <visible> <true /> </visible>
  617.         <reserved5> 0 </reserved5>
  618.         <reserved4> 0 </reserved4>
  619.         <reserved3> 0 </reserved3>
  620.         <reserved2> 0 </reserved2>
  621.         <reserved1> 0 </reserved1>
  622.         <enabled> <true /> </enabled>
  623.         <rect>
  624.             <left>300</left>
  625.             <top>257</top>
  626.             <right>509</right>
  627.             <bottom>271</bottom>
  628.         </rect>
  629.         <style>rectangle</style>
  630.         <showName> <false /> </showName>
  631.         <highlight> <false /> </highlight>
  632.         <autoHighlight> <false /> </autoHighlight>
  633.         <sharedHighlight> <true /> </sharedHighlight>
  634.         <family>0</family>
  635.         <titleWidth>0</titleWidth>
  636.         <icon>0</icon>
  637.         <textAlign>center</textAlign>
  638.         <font>Chicago</font>
  639.         <textSize>12</textSize>
  640.         <textStyle>plain</textStyle>
  641.         <name>total frame</name>
  642.         <script></script>
  643.     </part>
  644.     <part>
  645.         <id>65</id>
  646.         <type>field</type>
  647.         <visible> <false /> </visible>
  648.         <dontWrap> <false /> </dontWrap>
  649.         <dontSearch> <false /> </dontSearch>
  650.         <sharedText> <false /> </sharedText>
  651.         <fixedLineHeight> <true /> </fixedLineHeight>
  652.         <autoTab> <false /> </autoTab>
  653.         <lockText> <false /> </lockText>
  654.         <rect>
  655.             <left>7</left>
  656.             <top>20</top>
  657.             <right>69</right>
  658.             <bottom>34</bottom>
  659.         </rect>
  660.         <style>rectangle</style>
  661.         <autoSelect> <false /> </autoSelect>
  662.         <showLines> <false /> </showLines>
  663.         <wideMargins> <false /> </wideMargins>
  664.         <multipleLines> <false /> </multipleLines>
  665.         <reservedFamily> 0 </reservedFamily>
  666.         <titleWidth>0</titleWidth>
  667.         <icon>0</icon>
  668.         <textAlign>left</textAlign>
  669.         <font>Geneva</font>
  670.         <textSize>9</textSize>
  671.         <textStyle>plain</textStyle>
  672.         <textHeight>12</textHeight>
  673.         <name>Drew Data</name>
  674.         <script></script>
  675.     </part>
  676.     <part>
  677.         <id>70</id>
  678.         <type>field</type>
  679.         <visible> <true /> </visible>
  680.         <dontWrap> <false /> </dontWrap>
  681.         <dontSearch> <false /> </dontSearch>
  682.         <sharedText> <false /> </sharedText>
  683.         <fixedLineHeight> <true /> </fixedLineHeight>
  684.         <autoTab> <false /> </autoTab>
  685.         <lockText> <true /> </lockText>
  686.         <rect>
  687.             <left>458</left>
  688.             <top>257</top>
  689.             <right>509</right>
  690.             <bottom>271</bottom>
  691.         </rect>
  692.         <style>rectangle</style>
  693.         <autoSelect> <false /> </autoSelect>
  694.         <showLines> <false /> </showLines>
  695.         <wideMargins> <false /> </wideMargins>
  696.         <multipleLines> <false /> </multipleLines>
  697.         <reservedFamily> 0 </reservedFamily>
  698.         <titleWidth>0</titleWidth>
  699.         <icon>0</icon>
  700.         <textAlign>center</textAlign>
  701.         <font>Geneva</font>
  702.         <textSize>9</textSize>
  703.         <textStyle>plain</textStyle>
  704.         <textHeight>13</textHeight>
  705.         <name>percent total</name>
  706.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  707.     </part>
  708.     <part>
  709.         <id>71</id>
  710.         <type>field</type>
  711.         <visible> <true /> </visible>
  712.         <dontWrap> <false /> </dontWrap>
  713.         <dontSearch> <false /> </dontSearch>
  714.         <sharedText> <false /> </sharedText>
  715.         <fixedLineHeight> <false /> </fixedLineHeight>
  716.         <autoTab> <false /> </autoTab>
  717.         <lockText> <true /> </lockText>
  718.         <rect>
  719.             <left>395</left>
  720.             <top>257</top>
  721.             <right>459</right>
  722.             <bottom>271</bottom>
  723.         </rect>
  724.         <style>rectangle</style>
  725.         <autoSelect> <false /> </autoSelect>
  726.         <showLines> <false /> </showLines>
  727.         <wideMargins> <false /> </wideMargins>
  728.         <multipleLines> <false /> </multipleLines>
  729.         <reservedFamily> 0 </reservedFamily>
  730.         <titleWidth>0</titleWidth>
  731.         <icon>0</icon>
  732.         <textAlign>right</textAlign>
  733.         <font>Geneva</font>
  734.         <textSize>9</textSize>
  735.         <textStyle>bold</textStyle>
  736.         <textHeight>12</textHeight>
  737.         <name>total</name>
  738.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  739.     </part>
  740.     <part>
  741.         <id>72</id>
  742.         <type>button</type>
  743.         <visible> <true /> </visible>
  744.         <reserved5> 0 </reserved5>
  745.         <reserved4> 0 </reserved4>
  746.         <reserved3> 0 </reserved3>
  747.         <reserved2> 0 </reserved2>
  748.         <reserved1> 0 </reserved1>
  749.         <enabled> <true /> </enabled>
  750.         <rect>
  751.             <left>350</left>
  752.             <top>257</top>
  753.             <right>388</right>
  754.             <bottom>271</bottom>
  755.         </rect>
  756.         <style>transparent</style>
  757.         <showName> <true /> </showName>
  758.         <highlight> <false /> </highlight>
  759.         <autoHighlight> <false /> </autoHighlight>
  760.         <sharedHighlight> <true /> </sharedHighlight>
  761.         <family>0</family>
  762.         <titleWidth>0</titleWidth>
  763.         <icon>0</icon>
  764.         <textAlign>left</textAlign>
  765.         <font>Geneva</font>
  766.         <textSize>9</textSize>
  767.         <textStyle>plain</textStyle>
  768.         <name>Total:</name>
  769.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  770.     </part>
  771.     <part>
  772.         <id>50</id>
  773.         <type>button</type>
  774.         <visible> <false /> </visible>
  775.         <reserved5> 0 </reserved5>
  776.         <reserved4> 0 </reserved4>
  777.         <reserved3> 0 </reserved3>
  778.         <reserved2> 0 </reserved2>
  779.         <reserved1> 0 </reserved1>
  780.         <enabled> <true /> </enabled>
  781.         <rect>
  782.             <left>300</left>
  783.             <top>30</top>
  784.             <right>402</right>
  785.             <bottom>169</bottom>
  786.         </rect>
  787.         <style>rectangle</style>
  788.         <showName> <false /> </showName>
  789.         <highlight> <false /> </highlight>
  790.         <autoHighlight> <false /> </autoHighlight>
  791.         <sharedHighlight> <true /> </sharedHighlight>
  792.         <family>0</family>
  793.         <titleWidth>0</titleWidth>
  794.         <icon>0</icon>
  795.         <textAlign>center</textAlign>
  796.         <font>Chicago</font>
  797.         <textSize>12</textSize>
  798.         <textStyle>plain</textStyle>
  799.         <name>Legend</name>
  800.         <script>on mouseDown-- Requires handler: doDragBtnset cursor to "Grab Hand"hide bg btn "GrowLegend"doDragBtn name of me,300,30,width of card window,height of card windowset botRight of bg btn "GrowLegend" to botRight of meshow bg btn "GrowLegend"end mouseDownon mouseup-- Requires handler: drawChartdrawChartend mouseup</script>
  801.     </part>
  802.     <part>
  803.         <id>51</id>
  804.         <type>button</type>
  805.         <visible> <false /> </visible>
  806.         <reserved5> 0 </reserved5>
  807.         <reserved4> 0 </reserved4>
  808.         <reserved3> 0 </reserved3>
  809.         <reserved2> 0 </reserved2>
  810.         <reserved1> 0 </reserved1>
  811.         <enabled> <true /> </enabled>
  812.         <rect>
  813.             <left>386</left>
  814.             <top>153</top>
  815.             <right>402</right>
  816.             <bottom>169</bottom>
  817.         </rect>
  818.         <style>rectangle</style>
  819.         <showName> <false /> </showName>
  820.         <highlight> <false /> </highlight>
  821.         <autoHighlight> <false /> </autoHighlight>
  822.         <sharedHighlight> <true /> </sharedHighlight>
  823.         <family>0</family>
  824.         <titleWidth>0</titleWidth>
  825.         <icon>27775</icon>
  826.         <textAlign>center</textAlign>
  827.         <font>Chicago</font>
  828.         <textSize>12</textSize>
  829.         <textStyle>plain</textStyle>
  830.         <name>growLegend</name>
  831.         <script>on mouseDown-- Requires function handlers: validatedData,maxCharsset cursor to arrowset icon of me to "Inverse Grow Box"set style of me to rectangleset style of bg btn "Legend" to "rectangle"put the rect of bg btn "Legend" into frameRectput width of me div 2 into halfMyWidthput height of me div 2 into halfMyHeightif the short name of bg button id 82 is "Calendar" thenput number of lines of validatedData(bg field "data") into dataCountelseput number of lines of validatedData(bg field "data2") into dataCountend ifif the short name of bg button id 82 is "Calendar" thenput maxChars(stripReturns(bg field "monthlabels")) * 8 into maxLabelSizeelseput maxChars(stripReturns(bg field "quarterlabels")) * 8 into maxLabelSizeend ifput maxLabelSize + 70 into maxWidthput (dataCount * 17) + 20 into maxHeightput width of card window into cardWidthput height of card window into cardHeightrepeat until the mouse is upput the mouseLoc into newLocif item 1 of newLoc <= (item 1 of frameRect + maxWidth)then put item 1 of frameRect + (maxWidth - halfMyWidth) ¬¨into item 1 of newLocput min(item 1 of newLoc,cardWidth - halfMyWidth) ¬¨into item 1 of newLocif item 2 of newLoc <= (item 2 of frameRect + maxHeight)then put item 2 of frameRect + (maxHeight - halfMyHeight) ¬¨into item 2 of newLocput min(item 2 of newLoc,cardHeight - halfMyHeight) ¬¨into item 2 of newLocset loc of me to newLocput bottom of me into item 4 of frameRect -- new bottomput right of me into item 3 of frameRect -- new rightset rect of bg btn "Legend" to frameRectend repeatset icon of me to "Grow Box"set style of me to rectangleend mouseDownon mouseup-- Requires handlers: drawChartdrawChartend mouseup</script>
  832.     </part>
  833.     <part>
  834.         <id>46</id>
  835.         <type>button</type>
  836.         <visible> <true /> </visible>
  837.         <reserved5> 0 </reserved5>
  838.         <reserved4> 0 </reserved4>
  839.         <reserved3> 0 </reserved3>
  840.         <reserved2> 0 </reserved2>
  841.         <reserved1> 0 </reserved1>
  842.         <enabled> <true /> </enabled>
  843.         <rect>
  844.             <left>5</left>
  845.             <top>28</top>
  846.             <right>509</right>
  847.             <bottom>200</bottom>
  848.         </rect>
  849.         <style>rectangle</style>
  850.         <showName> <false /> </showName>
  851.         <highlight> <false /> </highlight>
  852.         <autoHighlight> <false /> </autoHighlight>
  853.         <sharedHighlight> <true /> </sharedHighlight>
  854.         <family>0</family>
  855.         <titleWidth>0</titleWidth>
  856.         <icon>0</icon>
  857.         <textAlign>center</textAlign>
  858.         <font>Geneva</font>
  859.         <textSize>10</textSize>
  860.         <textStyle>plain</textStyle>
  861.         <name>frame</name>
  862.         <script>on mouseDown-- Requires handler: doDragBtnset cursor to "Grab Hand"hide bg btn "Grow"doDragBtn name of me,3,3,width of card window,height of card windowset botRight of bg btn "Grow" to botRight of meshow bg btn "Grow"end mouseDownon mouseUp-- Requires handler: saveRect,drawChartsaveRectdrawChartend mouseUp</script>
  863.     </part>
  864.     <part>
  865.         <id>47</id>
  866.         <type>button</type>
  867.         <visible> <true /> </visible>
  868.         <reserved5> 0 </reserved5>
  869.         <reserved4> 0 </reserved4>
  870.         <reserved3> 0 </reserved3>
  871.         <reserved2> 0 </reserved2>
  872.         <reserved1> 0 </reserved1>
  873.         <enabled> <true /> </enabled>
  874.         <rect>
  875.             <left>493</left>
  876.             <top>184</top>
  877.             <right>509</right>
  878.             <bottom>200</bottom>
  879.         </rect>
  880.         <style>rectangle</style>
  881.         <showName> <false /> </showName>
  882.         <highlight> <false /> </highlight>
  883.         <autoHighlight> <false /> </autoHighlight>
  884.         <sharedHighlight> <true /> </sharedHighlight>
  885.         <family>0</family>
  886.         <titleWidth>0</titleWidth>
  887.         <icon>27775</icon>
  888.         <textAlign>center</textAlign>
  889.         <font>Chicago</font>
  890.         <textSize>12</textSize>
  891.         <textStyle>plain</textStyle>
  892.         <name>grow</name>
  893.         <script>on mouseDownset cursor to arrowput 160 into maxWidthput 172 into maxHeightset icon of me to "Inverse Grow Box"set style of me to rectangleset style of bg btn "Frame" to rectangleput the rect of bg btn "Frame" into frameRectput width of me div 2 into halfMyWidthput height of me div 2 into halfMyHeightput width of card window into cardWidthput height of card window into cardHeightrepeat until the mouse is upput the mouseLoc into newLocif item 1 of newLoc <= (item 1 of frameRect + maxWidth)then put item 1 of frameRect + (maxWidth - halfMyWidth) ¬¨into item 1 of newLocput min(item 1 of newLoc,cardWidth - halfMyWidth) ¬¨into item 1 of newLocif item 2 of newLoc <= (item 2 of frameRect + maxHeight)then put item 2 of frameRect + (maxHeight - halfMyHeight) ¬¨into item 2 of newLocput min(item 2 of newLoc,cardHeight - halfMyHeight) ¬¨into item 2 of newLocset loc of me to newLocput bottom of me into item 4 of frameRect -- new bottomput right of me into item 3 of frameRect -- new rightset rect of bg btn "Frame" to frameRectend repeatset icon of me to "Grow Box"set style of me to rectangleend mouseDownon mouseup-- Requires handlers: saveRect,drawChartsaveRectdrawChartend mouseup</script>
  894.     </part>
  895.     <part>
  896.         <id>75</id>
  897.         <type>field</type>
  898.         <visible> <false /> </visible>
  899.         <dontWrap> <false /> </dontWrap>
  900.         <dontSearch> <false /> </dontSearch>
  901.         <sharedText> <false /> </sharedText>
  902.         <fixedLineHeight> <false /> </fixedLineHeight>
  903.         <autoTab> <false /> </autoTab>
  904.         <lockText> <false /> </lockText>
  905.         <rect>
  906.             <left>213</left>
  907.             <top>33</top>
  908.             <right>283</right>
  909.             <bottom>48</bottom>
  910.         </rect>
  911.         <style>rectangle</style>
  912.         <autoSelect> <false /> </autoSelect>
  913.         <showLines> <false /> </showLines>
  914.         <wideMargins> <false /> </wideMargins>
  915.         <multipleLines> <false /> </multipleLines>
  916.         <reservedFamily> 0 </reservedFamily>
  917.         <titleWidth>0</titleWidth>
  918.         <icon>0</icon>
  919.         <textAlign>left</textAlign>
  920.         <font>Geneva</font>
  921.         <textSize>9</textSize>
  922.         <textStyle>plain</textStyle>
  923.         <textHeight>12</textHeight>
  924.         <name>data3</name>
  925.         <script></script>
  926.     </part>
  927.     <part>
  928.         <id>82</id>
  929.         <type>button</type>
  930.         <visible> <true /> </visible>
  931.         <reserved5> 0 </reserved5>
  932.         <reserved4> 0 </reserved4>
  933.         <reserved3> 0 </reserved3>
  934.         <reserved2> 0 </reserved2>
  935.         <reserved1> 0 </reserved1>
  936.         <enabled> <true /> </enabled>
  937.         <rect>
  938.             <left>5</left>
  939.             <top>292</top>
  940.             <right>31</right>
  941.             <bottom>309</bottom>
  942.         </rect>
  943.         <style>transparent</style>
  944.         <showName> <false /> </showName>
  945.         <highlight> <false /> </highlight>
  946.         <autoHighlight> <false /> </autoHighlight>
  947.         <sharedHighlight> <false /> </sharedHighlight>
  948.         <family>0</family>
  949.         <titleWidth>0</titleWidth>
  950.         <icon>1015</icon>
  951.         <textAlign>center</textAlign>
  952.         <font>Chicago</font>
  953.         <textSize>12</textSize>
  954.         <textStyle>plain</textStyle>
  955.         <name>Calendar</name>
  956.         <script>on mouseUpset the hilite of me to trueset the hilite of bg button "quarter" to falseset the hilite of bg button "client" to falsehide bg field "Graph Info"set hilite of bg button "About Graphs" to trueif the number of lines of bg fld "data">12 thenput "Income Over Two Year Period" into bg fld "labels title"put "during "&last word of line 1 of bg fld quarterlabels&" - "&last word of line 1 of bg fld quarterlabels+1 into bg fld "graph Title"elseput "Income by Year" into bg fld "labels title"put "during "&last word of line 1 of bg fld quarterlabels into bg fld "graph Title"end ifupdateTotalssend mouseUp to bg button "drawGraph"end mouseUp</script>
  957.     </part>
  958.     <part>
  959.         <id>87</id>
  960.         <type>button</type>
  961.         <visible> <true /> </visible>
  962.         <reserved5> 0 </reserved5>
  963.         <reserved4> 0 </reserved4>
  964.         <reserved3> 0 </reserved3>
  965.         <reserved2> 0 </reserved2>
  966.         <reserved1> 0 </reserved1>
  967.         <enabled> <true /> </enabled>
  968.         <rect>
  969.             <left>5</left>
  970.             <top>308</top>
  971.             <right>31</right>
  972.             <bottom>323</bottom>
  973.         </rect>
  974.         <style>transparent</style>
  975.         <showName> <false /> </showName>
  976.         <highlight> <false /> </highlight>
  977.         <autoHighlight> <true /> </autoHighlight>
  978.         <sharedHighlight> <false /> </sharedHighlight>
  979.         <family>0</family>
  980.         <titleWidth>0</titleWidth>
  981.         <icon>1015</icon>
  982.         <textAlign>center</textAlign>
  983.         <font>Chicago</font>
  984.         <textSize>12</textSize>
  985.         <textStyle>plain</textStyle>
  986.         <name>quarter</name>
  987.         <script>on mouseUpset the hilite of me to trueset the hilite of bg button "calendar" to falseset the hilite of bg button "client" to falsehide bg field "Graph Info"set hilite of bg button "About Graphs" to trueif the number of lines of bg fld "data2">4 thenput "Quarterly Income Over Two Year Period" into bg fld "labels title"put last word of line 1 of bg fld quarterlabels&" - "&last word of line 1 of bg fld quarterlabels+1 into bg fld "graph Title"elseput "Quarterly Income" into bg fld "labels title"put "fiscal year"&&last word of line 1 of bg fld quarterlabels into bg fld "graph Title"end ifupdateTotalssend mouseUp to bg button "drawGraph"end mouseUp</script>
  988.     </part>
  989.     <part>
  990.         <id>88</id>
  991.         <type>button</type>
  992.         <visible> <true /> </visible>
  993.         <reserved5> 0 </reserved5>
  994.         <reserved4> 0 </reserved4>
  995.         <reserved3> 0 </reserved3>
  996.         <reserved2> 0 </reserved2>
  997.         <reserved1> 0 </reserved1>
  998.         <enabled> <true /> </enabled>
  999.         <rect>
  1000.             <left>5</left>
  1001.             <top>322</top>
  1002.             <right>31</right>
  1003.             <bottom>337</bottom>
  1004.         </rect>
  1005.         <style>transparent</style>
  1006.         <showName> <false /> </showName>
  1007.         <highlight> <false /> </highlight>
  1008.         <autoHighlight> <true /> </autoHighlight>
  1009.         <sharedHighlight> <false /> </sharedHighlight>
  1010.         <family>0</family>
  1011.         <titleWidth>0</titleWidth>
  1012.         <icon>1015</icon>
  1013.         <textAlign>center</textAlign>
  1014.         <font>Chicago</font>
  1015.         <textSize>12</textSize>
  1016.         <textStyle>plain</textStyle>
  1017.         <name>client</name>
  1018.         <script>on mouseUpset the hilite of me to trueset the hilite of bg button "quarter" to falseset the hilite of bg button "calendar" to falsehide bg field "Graph Info"set hilite of bg button "About Graphs" to trueput bg fld "labels title2" into bg fld "labels title"put bg fld "graph Title2" into bg fld "graph Title"updateTotalssend mouseUp to bg button "drawGraph"end mouseUp</script>
  1019.     </part>
  1020.     <part>
  1021.         <id>90</id>
  1022.         <type>button</type>
  1023.         <visible> <true /> </visible>
  1024.         <reserved5> 0 </reserved5>
  1025.         <reserved4> 0 </reserved4>
  1026.         <reserved3> 0 </reserved3>
  1027.         <reserved2> 0 </reserved2>
  1028.         <reserved1> 0 </reserved1>
  1029.         <enabled> <true /> </enabled>
  1030.         <rect>
  1031.             <left>492</left>
  1032.             <top>204</top>
  1033.             <right>509</right>
  1034.             <bottom>220</bottom>
  1035.         </rect>
  1036.         <style>transparent</style>
  1037.         <showName> <false /> </showName>
  1038.         <highlight> <false /> </highlight>
  1039.         <autoHighlight> <true /> </autoHighlight>
  1040.         <sharedHighlight> <true /> </sharedHighlight>
  1041.         <family>0</family>
  1042.         <titleWidth>0</titleWidth>
  1043.         <icon>5655</icon>
  1044.         <textAlign>center</textAlign>
  1045.         <font>Chicago</font>
  1046.         <textSize>12</textSize>
  1047.         <textStyle>plain</textStyle>
  1048.         <name></name>
  1049.         <script>on mouseDownput the textHeight of item 1 of theFields() into baseLineSizeput the number of items in theFields() into numItemsrepeat until the mouse is upget (scroll of last item of theFields()) - baseLineSizelock screenrepeat with count = 1 to numItemsset scroll of (item count of theFields()) to itend repeatunlock screenend repeatend mouseDownfunction theFieldsreturn "bg fld percents,bg fld data,bg fld data2,bg fld clientdata,bg fld monthlabels,bg fld quarterlabels,bg fld clientlabels"end theFields</script>
  1050.     </part>
  1051.     <part>
  1052.         <id>91</id>
  1053.         <type>button</type>
  1054.         <visible> <true /> </visible>
  1055.         <reserved5> 0 </reserved5>
  1056.         <reserved4> 0 </reserved4>
  1057.         <reserved3> 0 </reserved3>
  1058.         <reserved2> 0 </reserved2>
  1059.         <reserved1> 0 </reserved1>
  1060.         <enabled> <true /> </enabled>
  1061.         <rect>
  1062.             <left>492</left>
  1063.             <top>240</top>
  1064.             <right>509</right>
  1065.             <bottom>256</bottom>
  1066.         </rect>
  1067.         <style>transparent</style>
  1068.         <showName> <false /> </showName>
  1069.         <highlight> <false /> </highlight>
  1070.         <autoHighlight> <true /> </autoHighlight>
  1071.         <sharedHighlight> <true /> </sharedHighlight>
  1072.         <family>0</family>
  1073.         <titleWidth>0</titleWidth>
  1074.         <icon>5656</icon>
  1075.         <textAlign>center</textAlign>
  1076.         <font>Chicago</font>
  1077.         <textSize>12</textSize>
  1078.         <textStyle>plain</textStyle>
  1079.         <name></name>
  1080.         <script>on mouseDownput the textHeight of item 1 of theFields() into baseLineSizeput the number of items in theFields() into numItemsrepeat until the mouse is upget (scroll of last item of theFields()) + baseLineSizelock screenrepeat with count = 1 to numItemsset scroll of (item count of theFields()) to itend repeatunlock screenend repeatend mouseDownfunction theFieldsreturn "bg fld percents,bg fld data,bg fld data2,bg fld clientdata,bg fld monthlabels,bg fld quarterlabels,bg fld clientlabels"end theFields</script>
  1081.     </part>
  1082.     <part>
  1083.         <id>92</id>
  1084.         <type>button</type>
  1085.         <visible> <true /> </visible>
  1086.         <reserved5> 0 </reserved5>
  1087.         <reserved4> 0 </reserved4>
  1088.         <reserved3> 0 </reserved3>
  1089.         <reserved2> 0 </reserved2>
  1090.         <reserved1> 0 </reserved1>
  1091.         <enabled> <true /> </enabled>
  1092.         <rect>
  1093.             <left>96</left>
  1094.             <top>279</top>
  1095.             <right>132</right>
  1096.             <bottom>315</bottom>
  1097.         </rect>
  1098.         <style>shadow</style>
  1099.         <showName> <false /> </showName>
  1100.         <highlight> <false /> </highlight>
  1101.         <autoHighlight> <true /> </autoHighlight>
  1102.         <sharedHighlight> <true /> </sharedHighlight>
  1103.         <family>0</family>
  1104.         <titleWidth>0</titleWidth>
  1105.         <icon>27697</icon>
  1106.         <textAlign>center</textAlign>
  1107.         <font>Chicago</font>
  1108.         <textSize>12</textSize>
  1109.         <textStyle>plain</textStyle>
  1110.         <name>home</name>
  1111.         <script>on mouseUpset cursor to 4visual effect scroll down to blackvisual effect dissolvego stack "Home"set cursor to 1end mouseUp</script>
  1112.     </part>
  1113.     <part>
  1114.         <id>93</id>
  1115.         <type>field</type>
  1116.         <visible> <false /> </visible>
  1117.         <dontWrap> <false /> </dontWrap>
  1118.         <dontSearch> <false /> </dontSearch>
  1119.         <sharedText> <false /> </sharedText>
  1120.         <fixedLineHeight> <true /> </fixedLineHeight>
  1121.         <autoTab> <true /> </autoTab>
  1122.         <lockText> <false /> </lockText>
  1123.         <rect>
  1124.             <left>272</left>
  1125.             <top>33</top>
  1126.             <right>512</right>
  1127.             <bottom>45</bottom>
  1128.         </rect>
  1129.         <style>shadow</style>
  1130.         <autoSelect> <false /> </autoSelect>
  1131.         <showLines> <true /> </showLines>
  1132.         <wideMargins> <false /> </wideMargins>
  1133.         <multipleLines> <false /> </multipleLines>
  1134.         <reservedFamily> 0 </reservedFamily>
  1135.         <titleWidth>0</titleWidth>
  1136.         <icon>0</icon>
  1137.         <textAlign>center</textAlign>
  1138.         <font>Helvetica</font>
  1139.         <textSize>10</textSize>
  1140.         <textStyle>plain</textStyle>
  1141.         <textHeight>10</textHeight>
  1142.         <name>graph Title2</name>
  1143.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  1144.     </part>
  1145.     <part>
  1146.         <id>94</id>
  1147.         <type>field</type>
  1148.         <visible> <false /> </visible>
  1149.         <dontWrap> <false /> </dontWrap>
  1150.         <dontSearch> <false /> </dontSearch>
  1151.         <sharedText> <false /> </sharedText>
  1152.         <fixedLineHeight> <true /> </fixedLineHeight>
  1153.         <autoTab> <true /> </autoTab>
  1154.         <lockText> <false /> </lockText>
  1155.         <rect>
  1156.             <left>272</left>
  1157.             <top>21</top>
  1158.             <right>512</right>
  1159.             <bottom>33</bottom>
  1160.         </rect>
  1161.         <style>shadow</style>
  1162.         <autoSelect> <false /> </autoSelect>
  1163.         <showLines> <true /> </showLines>
  1164.         <wideMargins> <false /> </wideMargins>
  1165.         <multipleLines> <false /> </multipleLines>
  1166.         <reservedFamily> 0 </reservedFamily>
  1167.         <titleWidth>0</titleWidth>
  1168.         <icon>0</icon>
  1169.         <textAlign>center</textAlign>
  1170.         <font>Helvetica</font>
  1171.         <textSize>10</textSize>
  1172.         <textStyle>bold</textStyle>
  1173.         <textHeight>10</textHeight>
  1174.         <name>labels title2</name>
  1175.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  1176.     </part>
  1177.     <part>
  1178.         <id>97</id>
  1179.         <type>field</type>
  1180.         <visible> <true /> </visible>
  1181.         <dontWrap> <false /> </dontWrap>
  1182.         <dontSearch> <false /> </dontSearch>
  1183.         <sharedText> <false /> </sharedText>
  1184.         <fixedLineHeight> <true /> </fixedLineHeight>
  1185.         <autoTab> <false /> </autoTab>
  1186.         <lockText> <true /> </lockText>
  1187.         <rect>
  1188.             <left>4</left>
  1189.             <top>210</top>
  1190.             <right>139</right>
  1191.             <bottom>274</bottom>
  1192.         </rect>
  1193.         <style>transparent</style>
  1194.         <autoSelect> <false /> </autoSelect>
  1195.         <showLines> <false /> </showLines>
  1196.         <wideMargins> <false /> </wideMargins>
  1197.         <multipleLines> <false /> </multipleLines>
  1198.         <reservedFamily> 0 </reservedFamily>
  1199.         <titleWidth>0</titleWidth>
  1200.         <icon>0</icon>
  1201.         <textAlign>left</textAlign>
  1202.         <font>Palatino</font>
  1203.         <textSize>24</textSize>
  1204.         <textStyle>bold</textStyle>
  1205.         <textHeight>32</textHeight>
  1206.         <name>graph type</name>
  1207.         <script></script>
  1208.     </part>
  1209.     <part>
  1210.         <id>100</id>
  1211.         <type>button</type>
  1212.         <visible> <true /> </visible>
  1213.         <reserved5> 0 </reserved5>
  1214.         <reserved4> 0 </reserved4>
  1215.         <reserved3> 0 </reserved3>
  1216.         <reserved2> 0 </reserved2>
  1217.         <reserved1> 0 </reserved1>
  1218.         <enabled> <true /> </enabled>
  1219.         <rect>
  1220.             <left>250</left>
  1221.             <top>280</top>
  1222.             <right>286</right>
  1223.             <bottom>316</bottom>
  1224.         </rect>
  1225.         <style>shadow</style>
  1226.         <showName> <false /> </showName>
  1227.         <highlight> <false /> </highlight>
  1228.         <autoHighlight> <true /> </autoHighlight>
  1229.         <sharedHighlight> <true /> </sharedHighlight>
  1230.         <family>0</family>
  1231.         <titleWidth>0</titleWidth>
  1232.         <icon>18930</icon>
  1233.         <textAlign>center</textAlign>
  1234.         <font>Chicago</font>
  1235.         <textSize>12</textSize>
  1236.         <textStyle>plain</textStyle>
  1237.         <name>graph</name>
  1238.         <script>on mouseUpPLOTend mouseUp</script>
  1239.     </part>
  1240.     <part>
  1241.         <id>101</id>
  1242.         <type>button</type>
  1243.         <visible> <true /> </visible>
  1244.         <reserved5> 0 </reserved5>
  1245.         <reserved4> 0 </reserved4>
  1246.         <reserved3> 0 </reserved3>
  1247.         <reserved2> 0 </reserved2>
  1248.         <reserved1> 0 </reserved1>
  1249.         <enabled> <true /> </enabled>
  1250.         <rect>
  1251.             <left>174</left>
  1252.             <top>279</top>
  1253.             <right>210</right>
  1254.             <bottom>315</bottom>
  1255.         </rect>
  1256.         <style>shadow</style>
  1257.         <showName> <false /> </showName>
  1258.         <highlight> <false /> </highlight>
  1259.         <autoHighlight> <true /> </autoHighlight>
  1260.         <sharedHighlight> <true /> </sharedHighlight>
  1261.         <family>0</family>
  1262.         <titleWidth>0</titleWidth>
  1263.         <icon>30733</icon>
  1264.         <textAlign>center</textAlign>
  1265.         <font>Chicago</font>
  1266.         <textSize>12</textSize>
  1267.         <textStyle>plain</textStyle>
  1268.         <name>New Button</name>
  1269.         <script>on mouseUpentryRoutineend mouseUp</script>
  1270.     </part>
  1271.     <part>
  1272.         <id>102</id>
  1273.         <type>button</type>
  1274.         <visible> <true /> </visible>
  1275.         <reserved5> 0 </reserved5>
  1276.         <reserved4> 0 </reserved4>
  1277.         <reserved3> 0 </reserved3>
  1278.         <reserved2> 0 </reserved2>
  1279.         <reserved1> 0 </reserved1>
  1280.         <enabled> <true /> </enabled>
  1281.         <rect>
  1282.             <left>212</left>
  1283.             <top>280</top>
  1284.             <right>248</right>
  1285.             <bottom>316</bottom>
  1286.         </rect>
  1287.         <style>shadow</style>
  1288.         <showName> <false /> </showName>
  1289.         <highlight> <false /> </highlight>
  1290.         <autoHighlight> <true /> </autoHighlight>
  1291.         <sharedHighlight> <true /> </sharedHighlight>
  1292.         <family>0</family>
  1293.         <titleWidth>0</titleWidth>
  1294.         <icon>28654</icon>
  1295.         <textAlign>center</textAlign>
  1296.         <font>Chicago</font>
  1297.         <textSize>12</textSize>
  1298.         <textStyle>plain</textStyle>
  1299.         <name>find</name>
  1300.         <script>on mouseUplock screengo background id 10307unlock screen with scroll updoMenu "Find..."end mouseUp</script>
  1301.     </part>
  1302.     <part>
  1303.         <id>103</id>
  1304.         <type>button</type>
  1305.         <visible> <true /> </visible>
  1306.         <reserved5> 0 </reserved5>
  1307.         <reserved4> 0 </reserved4>
  1308.         <reserved3> 0 </reserved3>
  1309.         <reserved2> 0 </reserved2>
  1310.         <reserved1> 0 </reserved1>
  1311.         <enabled> <true /> </enabled>
  1312.         <rect>
  1313.             <left>410</left>
  1314.             <top>2</top>
  1315.             <right>509</right>
  1316.             <bottom>23</bottom>
  1317.         </rect>
  1318.         <style>transparent</style>
  1319.         <showName> <false /> </showName>
  1320.         <highlight> <false /> </highlight>
  1321.         <autoHighlight> <true /> </autoHighlight>
  1322.         <sharedHighlight> <true /> </sharedHighlight>
  1323.         <family>0</family>
  1324.         <titleWidth>0</titleWidth>
  1325.         <icon>0</icon>
  1326.         <textAlign>center</textAlign>
  1327.         <font>Chicago</font>
  1328.         <textSize>12</textSize>
  1329.         <textStyle>plain</textStyle>
  1330.         <name>about</name>
  1331.         <script>on mouseUpAboutend mouseUp</script>
  1332.     </part>
  1333.     <part>
  1334.         <id>105</id>
  1335.         <type>button</type>
  1336.         <visible> <true /> </visible>
  1337.         <reserved5> 0 </reserved5>
  1338.         <reserved4> 0 </reserved4>
  1339.         <reserved3> 0 </reserved3>
  1340.         <reserved2> 0 </reserved2>
  1341.         <reserved1> 0 </reserved1>
  1342.         <enabled> <true /> </enabled>
  1343.         <rect>
  1344.             <left>300</left>
  1345.             <top>2</top>
  1346.             <right>405</right>
  1347.             <bottom>23</bottom>
  1348.         </rect>
  1349.         <style>transparent</style>
  1350.         <showName> <false /> </showName>
  1351.         <highlight> <false /> </highlight>
  1352.         <autoHighlight> <true /> </autoHighlight>
  1353.         <sharedHighlight> <true /> </sharedHighlight>
  1354.         <family>0</family>
  1355.         <titleWidth>0</titleWidth>
  1356.         <icon>0</icon>
  1357.         <textAlign>center</textAlign>
  1358.         <font>Chicago</font>
  1359.         <textSize>12</textSize>
  1360.         <textStyle>plain</textStyle>
  1361.         <name>transfer  data</name>
  1362.         <script>on mouseUpglobal goGraph,IsCommonData,myData,theLabels,theTitle,theDataTitle,theUnitsanswer "Transfer the graph you're now veiwing and its data to Hypercards' Graph Maker‚Ñ¢ stack?" with "cancel" or "OK"if it is "OK" thenput bg field "Units" into theUnitsif hilite of bg button "calendar" is true thenput bg fld "data" into myDataput bg fld "monthlabels" into theLabelsif the number of lines of bg fld "data">12 thenput "Income Over Two Year Period" into theDataTitleput "during "&last word of line 1 of bg fld quarterlabels&" - "&last word of line 1 of bg fld quarterlabels+1 into theTitleelseput "Income by Year" into theDataTitleput "during "&last word of line 1 of bg fld quarterlabels into theTitleend ifend ifif hilite of bg button "quarter" is true thenput bg fld "data2" into myDataput bg fld "quarterlabels" into theLabelsif the number of lines of bg fld "data2">4 thenput "Quarterly Income Over Two Year Period" into theDataTitleput last word of line 1 of bg fld quarterlabels&" - "&last word of line 1 of bg fld quarterlabels+1 into theTitleelseput "Quarterly Income" into theDataTitleput "fiscal year"&&last word of line 1 of bg fld quarterlabels into theTitleend ifend ifif hilite of bg button "client" is true thenput bg fld "labels title2" into theDataTitleput bg fld "graph Title2" into theTitleput bg fld "clientdata" into myDataput bg fld "clientlabels" into theLabelsend ifend ifif it is "cancel" then exit mouseUpanswer "When the data is transfered, which graph do you want to go to?" with "Column" or "Pie" or "Fever"go card it of stack "Graph Maker"doMenu "Copy Card"doMenu "Paste Card"put myData into bg field "data"put theLabels into bg field "Labels"put theDataTitle into bg field "Labels Title"put theTitle into bg field "Graph Title"put theUnits into bg field "units"send mouseUp to bg button "drawGraph"end mouseUp-- Requires handlers: resetDrawFlag,resetDataInfoput hilite of me into IsCommonDataif IsCommonData thenanswer "Replace the data on the other cards with the data on this card?" with "Cancel" or "OK" -- ‚àÜif it is not "OK" then -- ‚àÜput false into IsCommonDataset hilite of me to falseexit mouseUpend ifput bg field "Data" into theDataput bg field "Labels" into theLabelsput bg field "Labels Title" into theDataTitleput bg field "Graph Title" into theTitleput bg field "Units" into theUnitsresetDrawFlagelse resetDataInfo</script>
  1363.     </part>
  1364.     <part>
  1365.         <id>107</id>
  1366.         <type>button</type>
  1367.         <visible> <true /> </visible>
  1368.         <reserved5> 0 </reserved5>
  1369.         <reserved4> 0 </reserved4>
  1370.         <reserved3> 0 </reserved3>
  1371.         <reserved2> 0 </reserved2>
  1372.         <reserved1> 0 </reserved1>
  1373.         <enabled> <true /> </enabled>
  1374.         <rect>
  1375.             <left>492</left>
  1376.             <top>219</top>
  1377.             <right>509</right>
  1378.             <bottom>241</bottom>
  1379.         </rect>
  1380.         <style>opaque</style>
  1381.         <showName> <false /> </showName>
  1382.         <highlight> <true /> </highlight>
  1383.         <autoHighlight> <false /> </autoHighlight>
  1384.         <sharedHighlight> <true /> </sharedHighlight>
  1385.         <family>0</family>
  1386.         <titleWidth>0</titleWidth>
  1387.         <icon>0</icon>
  1388.         <textAlign>center</textAlign>
  1389.         <font>Chicago</font>
  1390.         <textSize>12</textSize>
  1391.         <textStyle>plain</textStyle>
  1392.         <name>New Button</name>
  1393.         <script></script>
  1394.     </part>
  1395.     <part>
  1396.         <id>108</id>
  1397.         <type>button</type>
  1398.         <visible> <true /> </visible>
  1399.         <reserved5> 0 </reserved5>
  1400.         <reserved4> 0 </reserved4>
  1401.         <reserved3> 0 </reserved3>
  1402.         <reserved2> 0 </reserved2>
  1403.         <reserved1> 0 </reserved1>
  1404.         <enabled> <true /> </enabled>
  1405.         <rect>
  1406.             <left>443</left>
  1407.             <top>324</top>
  1408.             <right>506</right>
  1409.             <bottom>336</bottom>
  1410.         </rect>
  1411.         <style>transparent</style>
  1412.         <showName> <false /> </showName>
  1413.         <highlight> <false /> </highlight>
  1414.         <autoHighlight> <true /> </autoHighlight>
  1415.         <sharedHighlight> <true /> </sharedHighlight>
  1416.         <family>0</family>
  1417.         <titleWidth>0</titleWidth>
  1418.         <icon>21851</icon>
  1419.         <textAlign>center</textAlign>
  1420.         <font>Chicago</font>
  1421.         <textSize>12</textSize>
  1422.         <textStyle>plain</textStyle>
  1423.         <name>change quarter settings</name>
  1424.         <script>on mouseUpqDtRend mouseUp</script>
  1425.     </part>
  1426.     <part>
  1427.         <id>63</id>
  1428.         <type>field</type>
  1429.         <visible> <false /> </visible>
  1430.         <dontWrap> <false /> </dontWrap>
  1431.         <dontSearch> <true /> </dontSearch>
  1432.         <sharedText> <false /> </sharedText>
  1433.         <fixedLineHeight> <false /> </fixedLineHeight>
  1434.         <autoTab> <false /> </autoTab>
  1435.         <lockText> <true /> </lockText>
  1436.         <rect>
  1437.             <left>221</left>
  1438.             <top>204</top>
  1439.             <right>509</right>
  1440.             <bottom>271</bottom>
  1441.         </rect>
  1442.         <style>rectangle</style>
  1443.         <autoSelect> <false /> </autoSelect>
  1444.         <showLines> <false /> </showLines>
  1445.         <wideMargins> <false /> </wideMargins>
  1446.         <multipleLines> <false /> </multipleLines>
  1447.         <reservedFamily> 0 </reservedFamily>
  1448.         <titleWidth>0</titleWidth>
  1449.         <icon>0</icon>
  1450.         <textAlign>center</textAlign>
  1451.         <font>Geneva</font>
  1452.         <textSize>9</textSize>
  1453.         <textStyle>plain</textStyle>
  1454.         <textHeight>12</textHeight>
  1455.         <name>graph info</name>
  1456.         <script>on mouseUp-- Requires handler: showInfoshowInfo not visible of bg field "Graph Info"end mouseUp</script>
  1457.     </part>
  1458.     <part>
  1459.         <id>109</id>
  1460.         <type>button</type>
  1461.         <visible> <true /> </visible>
  1462.         <reserved5> 0 </reserved5>
  1463.         <reserved4> 0 </reserved4>
  1464.         <reserved3> 0 </reserved3>
  1465.         <reserved2> 0 </reserved2>
  1466.         <reserved1> 0 </reserved1>
  1467.         <enabled> <true /> </enabled>
  1468.         <rect>
  1469.             <left>127</left>
  1470.             <top>319</top>
  1471.             <right>259</right>
  1472.             <bottom>333</bottom>
  1473.         </rect>
  1474.         <style>transparent</style>
  1475.         <showName> <false /> </showName>
  1476.         <highlight> <false /> </highlight>
  1477.         <autoHighlight> <true /> </autoHighlight>
  1478.         <sharedHighlight> <true /> </sharedHighlight>
  1479.         <family>0</family>
  1480.         <titleWidth>0</titleWidth>
  1481.         <icon>0</icon>
  1482.         <textAlign>center</textAlign>
  1483.         <font>Chicago</font>
  1484.         <textSize>12</textSize>
  1485.         <textStyle>plain</textStyle>
  1486.         <name>print card</name>
  1487.         <script>on mouseUpanswer "Print a copy of this graph?" with "no" or "OK"if it is "OK" then doMenu "Print Card"end mouseUp</script>
  1488.     </part>
  1489.     <part>
  1490.         <id>110</id>
  1491.         <type>field</type>
  1492.         <visible> <true /> </visible>
  1493.         <dontWrap> <false /> </dontWrap>
  1494.         <dontSearch> <true /> </dontSearch>
  1495.         <sharedText> <false /> </sharedText>
  1496.         <fixedLineHeight> <false /> </fixedLineHeight>
  1497.         <autoTab> <false /> </autoTab>
  1498.         <lockText> <true /> </lockText>
  1499.         <rect>
  1500.             <left>353</left>
  1501.             <top>281</top>
  1502.             <right>432</right>
  1503.             <bottom>329</bottom>
  1504.         </rect>
  1505.         <style>rectangle</style>
  1506.         <autoSelect> <false /> </autoSelect>
  1507.         <showLines> <false /> </showLines>
  1508.         <wideMargins> <false /> </wideMargins>
  1509.         <multipleLines> <false /> </multipleLines>
  1510.         <reservedFamily> 0 </reservedFamily>
  1511.         <titleWidth>0</titleWidth>
  1512.         <icon>0</icon>
  1513.         <textAlign>center</textAlign>
  1514.         <font>Palatino</font>
  1515.         <textSize>10</textSize>
  1516.         <textStyle>condense</textStyle>
  1517.         <textHeight>13</textHeight>
  1518.         <name>you are...</name>
  1519.         <script></script>
  1520.     </part>
  1521.     <part>
  1522.         <id>111</id>
  1523.         <type>button</type>
  1524.         <visible> <true /> </visible>
  1525.         <reserved5> 0 </reserved5>
  1526.         <reserved4> 0 </reserved4>
  1527.         <reserved3> 0 </reserved3>
  1528.         <reserved2> 0 </reserved2>
  1529.         <reserved1> 0 </reserved1>
  1530.         <enabled> <true /> </enabled>
  1531.         <rect>
  1532.             <left>355</left>
  1533.             <top>283</top>
  1534.             <right>430</right>
  1535.             <bottom>298</bottom>
  1536.         </rect>
  1537.         <style>transparent</style>
  1538.         <showName> <false /> </showName>
  1539.         <highlight> <true /> </highlight>
  1540.         <autoHighlight> <false /> </autoHighlight>
  1541.         <sharedHighlight> <true /> </sharedHighlight>
  1542.         <family>0</family>
  1543.         <titleWidth>0</titleWidth>
  1544.         <icon>0</icon>
  1545.         <textAlign>center</textAlign>
  1546.         <font>Chicago</font>
  1547.         <textSize>12</textSize>
  1548.         <textStyle>plain</textStyle>
  1549.         <name></name>
  1550.         <script></script>
  1551.     </part>
  1552.     <content>
  1553.         <layer>background</layer>
  1554.         <id>37</id>
  1555.         <text>Month</text>
  1556.     </content>
  1557.     <content>
  1558.         <layer>background</layer>
  1559.         <id>39</id>
  1560.         <text>wombats</text>
  1561.     </content>
  1562.     <content>
  1563.         <layer>background</layer>
  1564.         <id>38</id>
  1565.         <text>Population</text>
  1566.     </content>
  1567.     <content>
  1568.         <layer>background</layer>
  1569.         <id>86</id>
  1570.         <text>by Calendarby Quarterby Client</text>
  1571.     </content>
  1572.     <name>Graphs</name>
  1573.     <script>‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àûThis is adopted from the Hypercard 2.0 supplied stack GRAPH MAKER v1.0Ken Schles does not claim copyright or control over hypercard suppliedscripts. You might want to look at the original script for hints.‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àûon openCardglobal IsCommonData,theData,theLabels,theTitle,theDataTitle,theUnitshide menubarget bg field "Graph Rect"set rect of bg btn "Frame" to line 1 of itset rect of bg btn "Grow" to line 2 of itput "Go To Graph..."&return&"Current graph:"&return&the short name of this card into bg fld "you are..."unlock screenif not bg field "Drew Data" thensend "drawChart" to this cardput true into bg field "Drew Data"end ifpass openCardend openCardon closeCardsaveRectshowInfo falsepass closeCardend closeCardon enterInFieldclick at the loc of bg btn "Drawgraph"end enterInFieldon enterKeyclick at the loc of bg btn "Drawgraph"end enterKey-----  Misc  ----------------------------------------------------on doDragBtn btnID,left,top,right,bottom-- drag a button within the card areaput (the clickH - item 1 of the loc of btnID) into horzStartput (the clickV - item 2 of the loc of btnID) into vertStartput width of btnID div 2 into horzOffsetput height of btnID div 2 into vertOffsetput horzOffset + left into cardLeftput vertOffset + top into cardTopput right - horzOffset into cardRightput bottom - vertOffset into cardBottomrepeat until the mouse is upput max(the mouseH - horzStart,cardLeft) into horzput min(horz,cardRight) into item 1 of newLocput max(the mouseV - vertStart,cardTop) into vertput min(vert,cardBottom) into item 2 of newLocset loc of btnID to newLocend repeatend doDragBtnon resetDrawFlagput "33769,14051,32617" into cardIdNumsput value(the target) into theDatarepeat with count = 1 to 4put false into bg field "Drew Data" of card id (item count of cardIDNums)end repeatend resetDrawFlagon showInfo showHideset visible of bg field "Graph Info" to showHideset hilite of bg btn "About Graphs" to not showHideend showInfo-----  Utilities  -----------------------------------------------on clearScreenchoose "Select Tool"doMenu "Select All"doMenu "Clear Picture"end clearScreenon setFont fontName,fontSize,fontAlignment,fontStyleif fontName is not empty then set textFont to fontNameif fontSize is not empty then set textSize to fontSizeif fontSize is not empty then set textheight to fontSizeif fontAlignment is not empty then set textAlign to fontAlignmentif fontStyle is not empty then set textStyle to fontStyleend setFonton saveRectput rect of bg btn "Frame" into line 1 of bg field "Graph Rect"put rect of bg btn "Grow" into line 2 of bg field "Graph Rect"end saveRectfunction stripReturns theTextrepeat until last char of theText ‚↠returndelete last char of theTextend repeatreturn theTextend stripReturns-----  Data Functions  -----------------------------------------------function validatedData data,labelsput max(number of lines in data,number of lines in labels) into numDatarepeat with count = 1 to numDataif ((line count of data is not a number) or ¬¨(line count of data < 0) or (line count of data is empty))then put zero into line count of dataend repeatreturn dataend validatedDatafunction roundUp anyNumber-- rounds a number to the nearest value divisible by 10,100,1000, etcput trunc(anyNumber) into wholeNumberput (10^(length(wholeNumber) - 1)) into divisorif wholeNumber mod divisor = 0 then return wholeNumberelse return (trunc((wholeNumber/divisor) + 1)) * divisorend roundUpfunction rectWidth theRectreturn item 3 of theRect - item 1 of theRectend rectWidthfunction rectHeight theRectreturn item 4 of theRect - item 2 of theRectend rectHeightfunction getMaxValue dataListsort dataList descending numericreturn line 1 of dataListend getMaxValuefunction maxChars textListput 0 into longestrepeat with theLine = 1 to the number of lines in textListif length(line theLine of textList) > longestthen put length(line theLine of textList) into longestend repeatreturn longestend maxChars-----------------------percents/totalson closeFieldupdateTotalspass closeFieldend closeFieldon exitFieldupdateTotalspass exitFieldend exitFieldon updateTotalsset cursor to watchif the hilite of bg button "calendar" = true thenput validatedData(bg field "Data") into dataend ifif the hilite of bg button "quarter" = true thenput validatedData(bg field "Data2") into dataend ifif the hilite of bg button "client" = true thenput validatedData(bg field "clientdata") into dataend ifput totalValues(data) into dataTotalput dataTotal into bg field "Total"get calcPercents(data,dataTotal)put item 1 of it into bg field "Percents"put item 2 of it into bg field "Percent Total"end updateTotalsfunction calcPercents data,dataTotalput 0 into percentTotalput empty into percentListif dataTotal ‚↠0 thenrepeat with dataCount = 1 to number of lines of dataput (line dataCount of data / dataTotal) * 100 into thePercentput round(thePercent) && "%" into line dataCount of percentList -- ‚àÜadd thePercent to percentTotalend repeatelserepeat with dataCount = 1 to number of lines of dataput line dataCount of data & "%" into line dataCount of percentList -- ‚àÜend repeatput dataTotal into percentTotalend ifreturn percentList & "," & percentTotal & "%" -- ‚àÜend calcPercentsfunction totalValues dataput 0 into total -- initialize the totalrepeat with lineNum = 1 to number of lines of dataput line lineNum of data into theLineif theLine is empty then next repeatget the value of theLineif character 1 of it is not in "1234567890-.()" then next repeatadd it to totalend repeatreturn totalend totalValueson hideShowif the hilite of bg button "calendar" is true thenshow bg fld "data"hide bg fld "data2"hide bg fld "clientdata"show bg fld "monthlabels"hide bg fld "quarterlabels"hide bg fld "clientlabels"end ifif the hilite of bg button "quarter" is true thenshow bg fld "data2"hide bg fld "data"hide bg fld "clientdata"show bg fld "quarterlabels"hide bg fld "monthlabels"hide bg fld "clientlabels"end ifif the hilite of bg button "client" is true thenshow bg fld "clientdata"hide bg fld "data"hide bg fld "data2"show bg fld "clientlabels"hide bg fld "monthlabels"hide bg fld "quarterlabels"end ifend hideShow</script>
  1574. </background>
  1575.